similar to: Tell R where to look locally for library?

Displaying 20 results from an estimated 10000 matches similar to: "Tell R where to look locally for library?"

2011 Jun 21
4
ddply to count frequency of combinations
I have a dataframe df with two columns x and y. I want to count the number of times a unique x, y combination occurs. For example x<- c(1,2,3,4,5,1,2,3,4) y<- c(1,2,3,4,5,1,2,4,1) df<-as.data.frame(cbind(x, y)) #what is the correct way to use ddply for this example? ddply(df, c('x','y', summarize, ??) #desired output -- format and order doesn't matter # (x, y)
2011 Sep 16
1
plot(m, which = 1), where m is a lm linear model. What is 'which' doing?
Sample code from *R CookBook* (awesome book btw) *11.12: Finding the Best Power Transformation (Box-Cox) Procedure* require(MASS) x <- 10:100 eps <- rnorm(length(x), sd = 5) y <- (x + eps)^(-1 / 1.5) m <- lm(y ~ x) # ***************** What does the *which* in this line do??? ******************************************** plot(m, which = 1) [[alternative HTML version deleted]]
2012 Feb 09
1
Apply pmax to dataframe with different args based on dataframe factor
# I have a dataframe in the following form: track <- c(rep('A', 3), rep('B', 4), rep('C', 4)) value <- c(0.15, 0.25, 0.35, 0.05, 0.99, 0.32, 0.13, 0.80, 0.75, 0.60, 0.44) df <- data.frame(track=factor(track), value=value) #> print(df) #track value #1 A 0.15 #2 A 0.25 #3 A 0.35 #4 B 0.05 #5 B 0.99 #6 B 0.32 #7 B 0.13
2011 Jun 18
1
Vim-R-Plugin issue : Python interface must be enabled to run Vim-R-Plugin
I am trying to get the Vim-R-Plugin<http://www.vim.org/scripts/script.php?script_id=2628> to work with gvim and R on Windows 7. When I open a .R file in VIM, it complains and says ""Python interface must be enabled to run Vim-R-Plugin." I have installed pywin32 for python 2.7, and added the following 4 lines to my _vimrc per the instructions
2011 Mar 11
3
.Library in R 2.12.2 for windows
I installed a custom package which needs to know its own location on the disk. (It runs an executable that is included in the package.) In version 2.11.1 the .Library command gave me the necessary information. It returned the path C:\Program Files\R\R-2.11.1\library. I have noticed that in the 2.12.2 newly installed libraries are installed to something like C:\Documents and Settings\user\My
2011 Jan 30
1
Where does R look for library packages - there is no package called 'BRugs'
I am have installed R on Windows 7 machine. R got installed in the directory C:\Program Files\R\R-2.12.0. Then I installed the package BRugs using the install.packages command. I did not get an option during the installation as to what directory I wanted BRugs installed in. It ended up in C:\myusername\Documents as C:\myusername\Documents\R\win-library\2.12\BRugs. When I open and R and run the
2011 Jun 13
1
Heatmap in R and/or ggplot2
I have a dataframe df with columns x, y, and height. I want to create a heatmap-like plot that creates a grid of x by y, and then color codes the grid depending on the value of height. Is there a ggplot2 object to do this? I'm able to easily do this in Excel with pivot tables and conditional formatting so I'm including an image that is close to the output I want. I want to be able to
2001 Dec 15
3
winbindd: local unix users vs. NTdomain users ........
Hi! I use Samba 2.2.2 on Linux Red Hat 7.1. My Samba server is NT domain member (security = domain), and I use winbindd. I detect some strange situation, as I look. See below. For example, my NT domain is MYDOMAIN (PDC implemented on NT4), and this domain have user myuser (MYDOMAIN+myuser as see him Samba&Winbindd). Linux, which run Samba&winbindd, have local user myuser too. Local
2023 Feb 28
1
"sh: doveadm: command not found" with doveadm -Dv backup -R
I?m moving from an old mail server to a new one. On the new one, trying to transfer mailboxes from the old machine using doveadm. It fails saying it can?f find doveadm: % sudo doveadm -Dv backup -R -u myuser at bordo.com.au remote:mail.bordo.com.au Password: Debug: Loading modules from directory: /usr/local/lib/dovecot/doveadm Debug: Skipping module doveadm_acl_plugin, because dlopen() failed:
2018 Jul 26
3
Inbox quota usage doubled when mailbox_list_index enabled, under some circumstances
Hello, I searched through the list archives for anything that appeared to be similar to this but I didn't find any good matches.? I apologize if this has been brought up before. Beginning with Dovecot 2.2.34, reported quota usage of a user's inbox can be doubled when the following criteria are met: 1) quota plugin is enabled 2) mailbox_list_index=yes 3) A sub-folder of the inbox
2009 Oct 03
2
Exclude directory from --delete
I have the following 3 commands which are supposed to run every night to back up my web server: rsync -avve ssh --numeric-ids --delete --ignore-errors myuser at myisp.com:/usr/home/myuser /Volumes/Downloads rsync -avve ssh --copy-links --numeric-ids --delete --ignore-errors myuser at myisp.com:/usr/home/myuser/mail_boxes /Volumes/Downloads/myuser/mail_boxesBU rsync -avve ssh --copy-links
2007 Apr 06
1
Vista, share level, UNC
Vista32 3.0.25pre2 (I understand vista patches for "share level" are already in) security = share (with "valid users" on share definition) host msdfs = no user/pass in smbpasswd file. If I use "connect network drive..." method with "connect as another user", then it will always work. If I use start, search , \\server\share and then type user/pass in
2020 Jul 20
3
Performance issues since upgrading to 3.X to 4.X
Pretty close to what i have that : [global] workgroup = PRIVATE server string = %h server log file = /var/log/samba/log.%m max log size = 1000 log level = 0 ####### Authentication ####### ## stand alone everything open. security = user guest ok = yes map to guest = bad password ## map id's outside to domain to tdb files. idmap config * : backend = tdb idmap
2009 Jul 05
3
Ambiguous mail location setting
"Using Dovecot v1.0.alpha4 on OpenBSD 3.8 (same problem find using Dovecot v1.0.alpha3 on OpenBSD 3.7) Log output: _________________________________ dovecot: Nov 04 11:15:28 Info: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=127.0.0.1 rip=127.0.0.1 resp=AHl2cmlAbjN1dHJpbm4uaXQAeXVyaW6zgXRyaW1v dovecot: Nov 04 11:15:28 Info: auth(default): sql(myuser at
2011 Oct 19
1
'doveadm quota get' dictionary SQL query ignores specified '@domain' part of username. bad config or bug?
Hi, I'm setting up SQL quota usage in Dovecot2. I've created a MAILBOX parameter table, 'PARAMS', that contains unique <user>@<domain> pairs, with quota data. mysql> select * from PARAMS; +----+------------------------+------------+-------------+------------+ | ai | MAILBOX_user_domain | quota | quota_bytes | quota_msgs |
2012 Dec 18
4
site.pp referring to other manifests without modules
Hi all, I want to do some code reuse, and modules seem overkill. Is it possible to have something like this? A file called myuser.pp class myuser { user {...} file {...} ... } Then in site.pp have this: node ''foo.example.com'' { include myuser .. other things .. } node ''bar.example.com'' { include myuser .. other things .. } When I try this,
2015 Jul 18
2
can't ssh into C7 host
hey guys, Yesterday I had no trouble loggging into this database host. But today for some reason I can't log in using my RSA key and password authentication doesn't work either. I am able to log onto the host via console. And I was able to grab the ssh config file. Here it is: [root at db1 ~]# grep -v '#' /etc/ssh/sshd_config |sed '/^\s*$/d' HostKey
2019 Feb 08
2
index problems after update
Hello List, i have a problem with index-files which is separated in 2 subproblems. May be these problems are connected. Currently we use Ubuntu 18.04 LTS which is bundled with dovecot 2.2.33.2 These servers are fresh installed machines and users are added to the system after, there was no upgrade. Sometimes it happens, that dovecot stops showing new mail. There is no error in log, dovecot just
2012 May 14
2
idmap_ad partially stopped working after upgrading Samba from 3.4.3 to 3.6.3
Dear list, upgrading from SLES11 SP1 to SLES11 SP2, I upgraded Samba from 3.4.3 to 3.6.3. I was successfully using idmap_ad to authenticate users but after the upgrade it stopped working and users are not seen by the OS. Obviously the users I want to see on the Linux server have all RFC2307 attributes populated and are seen by all other SLES11 SP1 servers. I checked everything (I know) from the
2020 Oct 11
6
v2.3.11.3 solr plugin search via MUA fails to match accented ascii characters; cmd line exec of `doveadm fts lookup` PANICs (assertion failed)
I'm running, dovecot --version 2.3.11.3 (502c39af9) solr -version 8.6.3 uname -rm 5.8.13-200.fc32.x86_64 x86_64 grep _NAME /etc/os-release PRETTY_NAME="Fedora 32 (Server Edition)" CPE_NAME="cpe:/o:fedoraproject:fedora:32" Solr FTS plugin is enabled/configured, mail_plugins = virtual acl fts fts_solr plugin { fts = solr fts_autoindex = yes