Hi,
I am getting the following error when loading the "affyio" package...
library(affyio)
Error in load(dataFile, ns) : ReadItem: unknown type 241
In addition: Warning message:
package 'affyio' was built under R version 2.3.0
Error: unable to load R code in package 'affyio'
Error: package/namespace load failed for 'affyio'
> sessionInfo()
R version 2.1.1, 2005-06-20, i386-pc-mingw32
attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils"
"datasets" "base"
>
Thanks..
Sohail Khan
Scientific Programmer
COLD SPRING HARBOR LABORATORY
Genome Research Center
500 Sunnyside Boulevard
Woodbury, NY 11797
(516)422-4076
On 7/5/06 12:31 PM, "Khan, Sohail" <khan at="" cshl.edu=""> wrote:
> Hi,
>
> I am getting the following error when loading the "affyio"
package...
>
> library(affyio)
> Error in load(dataFile, ns) : ReadItem: unknown type 241
> In addition: Warning message:
> package 'affyio' was built under R version 2.3.0
^^^^^
> Error: unable to load R code in package 'affyio'
> Error: package/namespace load failed for 'affyio'
>> sessionInfo()
> R version 2.1.1, 2005-06-20, i386-pc-mingw32
^^^^^
Hi, Sohail.
Looks like you need to upgrade your R. Note that the affyio package
was
built under 2.3.0 and you are trying to load it into R 2.1.1, which is
a
year or two old. I'm not a windows user, but I'm venturing a guess
that
might be the issue.
Sean
Thanks Sean.
How can I upgrade R without having to install all the packages I have
already installed??
-Sohail
-----Original Message-----
From: Sean Davis [mailto:sdavis2@mail.nih.gov]
Sent: Wednesday, July 05, 2006 12:49 PM
To: Khan, Sohail; Bioconductor
Subject: Re: [BioC] affyio
On 7/5/06 12:31 PM, "Khan, Sohail" <khan at="" cshl.edu=""> wrote:
> Hi,
>
> I am getting the following error when loading the "affyio"
package...
>
> library(affyio)
> Error in load(dataFile, ns) : ReadItem: unknown type 241
> In addition: Warning message:
> package 'affyio' was built under R version 2.3.0
^^^^^
> Error: unable to load R code in package 'affyio'
> Error: package/namespace load failed for 'affyio'
>> sessionInfo()
> R version 2.1.1, 2005-06-20, i386-pc-mingw32
^^^^^
Hi, Sohail.
Looks like you need to upgrade your R. Note that the affyio package
was
built under 2.3.0 and you are trying to load it into R 2.1.1, which is
a
year or two old. I'm not a windows user, but I'm venturing a guess
that
might be the issue.
Sean
Hi Khan,
Khan, Sohail wrote:
> Thanks Sean.
>
> How can I upgrade R without having to install all the packages I
have already installed??
There have been threads in R-help that discuss this issue, so you
might
use RSiteSearch() to see if you can find one that you like. One
possibility is to install the new version of R, copy your library
directory over, and then run update.packages().
However, I don't see how this is any better (or faster) than simply
installing the new version of R and then installing all the packages
that you might want. This eliminates any problems you might encounter
with incompatible versions of packages.
Best,
Jim
--
James W. MacDonald, M.S.
Biostatistician
Affymetrix and cDNA Microarray Core
University of Michigan Cancer Center
1500 E. Medical Center Drive
7410 CCGC
Ann Arbor MI 48109
734-647-5623
**********************************************************
Electronic Mail is not secure, may not be read every day, and should
not be used for urgent or sensitive issues.
On 7/5/06 1:15 PM, "Khan, Sohail" <khan at="" cshl.edu=""> wrote:
> Thanks Sean.
>
> How can I upgrade R without having to install all the packages I
have already
> installed??
If you use some of the command-line installation features, it isn't
really
that hard to install all the packages that you typically use in a few
lines.
My guess is that you don't actually use as many packages as you think
you
do, so I find that when I upgrade, I install a few very-often-used
packages
and then "install as I go" for the rest.
Sean