search for: can_0027t

Displaying 9 results from an estimated 9 matches for "can_0027t".

2013 Oct 24
1
installing package from source
Hi R users, Currently I want to fit a FIGARCH model to a dataset. The only package that allow for it that I could find is fGarch. However it seems that the FIGARCH model class fitting of this package has been moved to Oxmetrics. I tried to install the old versions of it using 'tar.gz' files from CRAN archive http://cran.r-project.org/src/contrib/Archive/fGarch/
2006 Apr 13
1
Working directory
Hi, I am a new user of "R", I am trying to read my data in.. "Cervixhc.dat" used to be in a different directory, now it has been moved to "O:\E&s\APC cervix FINAL (YG,MC,MD)\Manuscript\Data", but when I ran the following program (in red) I got an error message "Error in setwd(dir) : cannot change working directory", and "Error in file(file,
2007 Jun 01
2
scan a directory and then make a string vector consisting of file names
Dear R-users, I am looking for a way to scan a directory and then make a string vector consisting of the file names in the directory. For example, under c:\temp\ there are 4 files a.txt, b.txt, c.txt, and d.txt I would like to have a string vector c("a.txt","b.txt","c.txt","d.txt") How do I do that? Thanks Taka,
2008 Jul 23
3
how can I write code to detect whether the machine is Windows or Linux?
Hi R-People: I use 2 machines: a machine with a Windows XP operating system, and another with a Linux Ubuntu OS. I transport my code between these 2 machines. However, pathnames to data files always need to be "adjusted" to account for the OS that I'm working on. Here is my question: How do I write code to detect whether I'm using the XP or the Linux machine? If I knew
2007 Aug 15
2
Loading JMP Files
Hi, I know how to use SPSS and JMP, and have quite a few JMP files I would like to use in R. I converted them to .xpt files, downloaded the 'foreign' library then tried this command: >read.xport("D:\\Databases\nameoffile.xpt") to which I get: >Error in lookup.xport(file) : unable to open file I have read FAQ lists and Google searched and cannot figure out what I'm
2008 Dec 13
2
sas.get function in Hmsic 3.4-4 vs. 3.0-12
Dear R Users, I have just installed R 2.8 today and also updated the Hmisc package to the latest 3.4-4 version. However, the sas.get function no longer works in the new Hmsic 3.4-4. Below is a sample code and output from the old and new, but the old one worked. Can someone tell me how sas.get should be used in Hmisc 3.4-4. Thanks, Larry Package Hmisc version 3.0-12 > a1 <-
2009 Jul 16
4
loading a file in R in mac OS X
Hello, Please forgive me that this question is so basic, but i have not been able to find a solution in any of the basic R introductions, in the R wiki, or in the stats textbook i'm using to learn R. I run R on a macintosh, and i have not been able to load any data files yet. For instance, if I have a data table in a file called schools.txt on my desktop, i've been trying to load the
2006 Feb 21
6
How to Import Data
Hello, I am a very new user of R. I've spent several hours trying to import data, so I feel okay asking the list for help. I had an Excel file, then I turned it into a "csv" file, as instructed by directions. My filename is "x111.csv." I then used the following commands to read this (fairly small) dataset in. x111 <-read.table(file='x111.csv',
2009 Jan 02
2
Reading file from remote location or network drive.
Hello, I'm trying to pull data from a network drive on a windows machine. The location is read into a string <rem> and then used later with a data input command. > rem<- "\\192.192.192.3\Shared\iris1.csv" Warning messages: 1: '\S' is an unrecognized escape in a character string 2: '\i' is an unrecognized escape in a character string 3: unrecognized