[Rd] large dataset - confused

2012-07-23 Thread walcotteric
I'm trying to load a dataset into R, but I'm completely lost. This is
probably due mostly to the fact that I'm a complete R newb, but it's got me
stuck in  a research project. 
I've tried just opening the text file in WordPad and copying the data
directly into R, but it's too big and causes the program to crash. 

Any suggestions or assistance? I'm kinda desperate and lost. 



--
View this message in context: 
http://r.789695.n4.nabble.com/large-dataset-confused-tp4637476.html
Sent from the R devel mailing list archive at Nabble.com.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-16 Thread walcotteric

jthetzel wrote
 
 1) Does traceback() give any hints as to where the setTime error is
 coming from?
 
 2) Zipping data sets in packages was made defunct in R 2.13.0.  However, I
 believe R 2.15 will still load data sets that were zipped using older
 versions of R, albeit with the warning that you see.  As you are not the
 package maintainer, you can ignore it.
 

Traceback doesn't help.  Also, I can't just ignore the warning because the
warning/error isn't letting me load the object.

--
View this message in context: 
http://r.789695.n4.nabble.com/Package-does-not-have-a-NAMESPACE-and-should-be-re-installed-tp4630059p4630313.html
Sent from the R devel mailing list archive at Nabble.com.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread walcotteric

Duncan Murdoch-2 wrote
 
 On 12-05-14 2:37 PM, walcott3@ wrote:
 I'm trying to load a package locally from a zip file. When I load the
 package, I first get this, which looks okay:

 package ?IBGEPesq? successfully unpacked and MD5 sums checked

 HOWEVER, when I try to use the package to use the data with
 library(IBGEPesq)

 I get this message:

package ?IBGEPesq? does not have a NAMESPACE and should be
 re-installed

 I've tried re-installing it, and I've tried following suggestions on
 similar posts, but with no success.
 
 The .zip file was likely produced by an earlier version of R.  It is 
 essentially a copy of an installed version of the package.  You need a 
 new .zip file, produced by the same version of R as you are using.
 
 Duncan Murdoch
 
 __
 R-devel@ mailing list
 https://stat.ethz.ch/mailman/listinfo/r-devel
 


I'm not sure I can get the newer version (it's census data from another
country). Is there a way to figure out which version of R was used and just
install that temporarily?

--
View this message in context: 
http://r.789695.n4.nabble.com/Package-does-not-have-a-NAMESPACE-and-should-be-re-installed-tp4630059p4630070.html
Sent from the R devel mailing list archive at Nabble.com.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Package does not have a NAMESPACE and should be re-installed

2012-05-15 Thread walcotteric

jthetzel wrote
 
 If you do not have access to the package's source code, you can try
 unzipping the the zip file, adding a NAMESPACE file, and re-zipping the
 package.   It's not ideal, but it should work.  This post from Stack
 Overflow has some more details:
 http://stackoverflow.com/questions/8012596/error-with-asreml-d-package-in-r-2-14-0/8014357#8014357
 .
 
 Jeremy
 
 
 Jeremy Hetzel
 Boston University
 
 
 


Thanks! That worked and the package and library are loaded, and it shows
that there is data there when I used

data()

However, now when I try to load the data to work with it, I get the
following:

Error in data(ocupacao2005) : invalid 'setTime' argument
In addition: Warning message:
In data(ocupacao2005) : zipped data found for package ‘IBGEPesq’.
That is defunct, so please re-install the package.

I'm playing around with it trying to fix it, but not sure exactly what it
means. Any suggestions?


--
View this message in context: 
http://r.789695.n4.nabble.com/Package-does-not-have-a-NAMESPACE-and-should-be-re-installed-tp4630059p4630132.html
Sent from the R devel mailing list archive at Nabble.com.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel