similar to: Accessing variable's name as an attribute?

Displaying 20 results from an estimated 130 matches similar to: "Accessing variable's name as an attribute?"

2011 Mar 05
1
file mode lost in file.copy()?
Hi, Recently I noticed file.copy() would discard the file mode information. Is this the expected behaviour or a bug for file.copy()? > file.create('testfile') [1] TRUE > file.info('testfile') size isdir mode mtime ctime testfile 0 FALSE 644 2011-03-05 17:06:39 2011-03-05 17:06:39 atime uid gid uname grname
2011 Mar 05
1
file mode lost in file.copy()?
Hi, Recently I noticed file.copy() would discard the file mode information. Is this the expected behaviour or a bug for file.copy()? > file.create('testfile') [1] TRUE > file.info('testfile') size isdir mode mtime ctime testfile 0 FALSE 644 2011-03-05 17:06:39 2011-03-05 17:06:39 atime uid gid uname grname
2010 Sep 13
2
as.Date() add a day to a date
I'm trying to understand why as.Date() is converting a the modified date of a file from August 22 to August 23. > foo <- file.info(file.to.process) > str(foo) 'data.frame': 1 obs. of 10 variables: $ size : num 5.37e+09 $ isdir : logi FALSE $ mode :Class 'octmode' int 436 $ mtime : POSIXct, format: "2010-08-22 23:14:52" $ ctime : POSIXct, format:
2010 Nov 29
1
tar R command
Hello, The documentation for the tar command leads me to think there is an internal implementation when the command can't be found in the OS. However, it doesn't seem to be the case, as I get an empty .tar file generated on a small example I made : > dir(pattern = "jpg") [1] "MA56237502_635.jpg" > file.info("MA56237502_635.jpg")
2004 Aug 31
1
file.info() on file larger than 2GB
I've got a file that's approximately 2.2GB and it seems to be foiling file.info(). When I run `stat' from the shell I get zooey:> stat data.csv File: `data.csv' Size: 2271197563 Blocks: 4440280 IO Block: 4096 regular file Device: 342h/834d Inode: 9994308 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 500/ rpeng) Gid: ( 500/ rpeng) Access:
2010 Oct 04
1
Globbing inconsistencies, dir() vs. unlink()
I was trying to remove a directory and couldn't figure out why it was failing: > dir("~/p4/r-packages/IREval/Users", recursive=T) [1] "u0048513/p4/r-packages/IREval/DESCRIPTION" [2] "u0048513/p4/r-packages/IREval/R/IREval.R" [3] "u0048513/p4/r-packages/IREval/Read-and-delete-me" [4] "u0048513/p4/r-packages/IREval/tests/general.R" >
2007 Nov 13
1
R: Query an Access database based on a date attribute
It seems that Access needs that you surround the dates with a # symbol. You probably need something like. res <- sqlQuery(channel, "select * from test_table where market = 'atl-bos' and competitor = 'delta' and dd = #2007-11-20#") Hope this helps, Stefano -----Messaggio originale----- Da: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]Per
2007 Nov 12
2
Query an Access database based on a date attribute
Dear useRs, I would like to query an Access database through R based on a date attribute but, unfortunately, I fail to do so. For example, the table test_table of the test.mdb looks like: ID cd market competitor dd price 1 1 2007-11-20 atl-bos delta 2007-11-20 210 2 2 2007-11-20 atl-bos delta 2007-11-21 190 3 3 2007-11-20 atl-bos delta 2007-11-22
2008 Sep 23
1
Samba 4 installation problem
Hello, I'm trying install Samba 4 by this link http://wiki.samba.org/index.php/Samba4/HOWTO . The step 2 compile and step 3 install completed, but step 4 provisionhas following error: [root@samba4 setup]# ./provision --realm=sfa.local --domain=sfa --adminpass=5555 --server-role='domain controller'Traceback (most recent call last): File "./provision", line 32, in ?
2013 Apr 25
1
Stochastic Frontier: Finding the optimal scale/scale efficiency by "frontier" package
Hi, I am trying to find out the scale efficiency and optimal scale of banks by stochastic frontier analysis given the panel data of bank. I am free to choose any model of stochastic frontier analysis. The only approach I know to work with R is to estimate a translog production function by sfa or other related function in frontier package, and then use the Ray 1998 formula to find the scale
2010 Jul 16
2
SKYPE - Authenticate incoming call
>> >> >> Hi All, >> >> After getting licences for Skype for asterisk a while ago I finally got >> around to setting up a server with two channels and setting up a bcp on >> the skype end. >> >> The idea behind this is the following: >> >> Users can dial into the PBX, get authenticated and only after> >>
2024 Mar 20
1
Building Packages.
I have a source file with oxygen-style comments (and description & licence files), and I?m trying to build a package. oxygen & devtools seem to work, and the tarball exists, but install.packages balks. Does anyone know what?s happening? Regards, Jorgen Harmse. > roxygenise(package.dir,clean=TRUE) Setting `RoxygenNote` to "7.3.1" ? roxygen2 requires "Encoding:
2010 Sep 15
1
specs inside subfolder of lib folder not displaying proper error messages
hi im facing this issue in which if i place a failing spec inside a subfolder of my lib folder then along with the error message the file name and the line number is not shown. output as below: ''Test one'' FAILED expected: 2, got: 1 (using ==) but if i move the spec directly under lib or any other folder then i see the file name and line number with error message as below
2011 May 16
0
MI help
Hi, I am trying to do multiple imputation on a panel of data and then, use the imputed values in stochastic frontier analysis. I am using this code just as a start to see if will run: mi(countrydata, n.iter = 30, R.hat = 1.1, max.minutes = 20, rand.imp.method = "bootstrap", run.past.convergence = FALSE, seed = NA) Unfortunately, I get this error which seems to have to do
2009 Sep 04
0
Today @12 Noon EDT: Skype for Asterisk, Floor Show at Astricon
Hello, In the run up to Astricon [ http://astricon.net ] we'll be talking today to Tim Panton about his experiences with SfA. You're welcome to join in! Speaking of Tim, you can join the conference in W I D E B A N D at http://api.phonefromhere.com/gateway/zdx.xsql?conference=200901 - come early, channels are limited, seriously! 12 Noon EDT today is http://tr.im/nextvuc in your time
2009 Sep 23
1
SFA - No channel cause 66
Hi, after having tested SFA in august, I didn't use it for some times and now I receive the subject error when calling through Skype channel. Has anyone an idea on what can be the problem? Thanks -- Daniel
2010 Mar 05
1
State of 64 bits applications in Asterisk
Hi, what is the state at this time for 64bits applications and compatibility with 1.6.2 Mainly speaking about FFA, SFA, G729. Thanks for any information -- Daniel
2010 Jun 15
1
Skype for SIP
By the way, I am currently testing this product from Skype. I would like to be able to receive calls ona Skype name on our pbx. 1) It works beautifully and you don't have to do anything in particular. 2) It's disproportionally expensive which is why I want Skype for Asterisk to work. SfS costs $5 per month per channel just to test the beta! I find that insane, but I wanted to test it.
2008 Nov 08
0
New package "frontier" for Stochastic Frontier Analysis (SFA)
Hi! A few weeks ago, I have uploaded a new R package "frontier" for Stochastic Frontier Analysis (SFA) [1] to CRAN [2]. It includes the FORTRAN code of Tim Coelli's [3] software "Frontier 4.1" [4]. Hence, the R package "frontier" should have the same capabilities as "Frontier 4.1", i.e. Maximum Likelihood Estimation of Stochastic Frontier Production
2008 Nov 08
0
New package "frontier" for Stochastic Frontier Analysis (SFA)
Hi! A few weeks ago, I have uploaded a new R package "frontier" for Stochastic Frontier Analysis (SFA) [1] to CRAN [2]. It includes the FORTRAN code of Tim Coelli's [3] software "Frontier 4.1" [4]. Hence, the R package "frontier" should have the same capabilities as "Frontier 4.1", i.e. Maximum Likelihood Estimation of Stochastic Frontier Production