[Rqda-commits] r24 - pkg pkg/R pkg/man www

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Nov 30 12:44:56 CET 2008


Author: wincent
Date: 2008-11-30 12:44:55 +0100 (Sun, 30 Nov 2008)
New Revision: 24

Modified:
   pkg/ChangeLog
   pkg/DESCRIPTION
   pkg/R/CodesFun.R
   pkg/R/ProjectButton.R
   pkg/R/ProjectFun.R
   pkg/TODO
   pkg/man/RQDA-internal.rd
   pkg/man/list.deleted.rd
   www/index.html
Log:


Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/ChangeLog	2008-11-30 11:44:55 UTC (rev 24)
@@ -1,3 +1,6 @@
+2008-11-30
+	* fix some minor bugs.
+	
 2008-11-29
 	* enhancement of function list.deleted() and pdelete()
 	* better handle the encoding issue in ViewFileButton and handler for openning a file.
@@ -4,10 +7,10 @@
 	* Add F-Cat (file-category) to help organized the files.
 	* Add doubleclick handlers to CodeOfCat and FileOfCat to retrieve coding and open file.
 	* fix typo (Thanks Adrian Dusa)
-	* fix a minor bug of CodeNamesUpdate()
+	* fix a minor bug of CodeNamesUpdate() and new_proj().
 	
 2008-11-25
-	*Take care of the warning from R CMD check
+	* Take care of the warning from R CMD check
 	
 2008-11-24
 	* Can back to the original file from Retrieved text chunck (by retrieval2 function).

Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/DESCRIPTION	2008-11-30 11:44:55 UTC (rev 24)
@@ -1,7 +1,7 @@
 Package: RQDA
 Type: Package
 Title: Qualitative data analysis
-Version: 0.1.5-22
+Version: 0.1.5-24
 Date: 2008-11-01
 Author: Huang Ronggui
 Maintainer: Huang <ronggui.huang at gmail.com>

Modified: pkg/R/CodesFun.R
===================================================================
--- pkg/R/CodesFun.R	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/R/CodesFun.R	2008-11-30 11:44:55 UTC (rev 24)
@@ -56,8 +56,8 @@
     buffer <- slot(widget,"widget")@widget$GetBuffer()
     startI <-gtkTextBufferGetIterAtOffset(buffer,min)$iter # translate number back to iter
     endI <-gtkTextBufferGetIterAtOffset(buffer,max)$iter
-#    gtkTextBufferRemoveTagByName(buffer,"red.foreground",startI,endI)},
-    gtkTextBufferRemoveTagByName(buffer,"red.background",startI,endI)},
+    gtkTextBufferRemoveTagByName(buffer,"red.foreground",startI,endI)},
+#    gtkTextBufferRemoveTagByName(buffer,"red.background",startI,endI)},
 
            error=function(e){})
 }
@@ -72,10 +72,10 @@
              buffer <- slot(W,"widget")@widget$GetBuffer()
              start <-gtkTextBufferGetIterAtOffset(buffer,x[1])$iter # translate number back to iter
              end <-gtkTextBufferGetIterAtOffset(buffer,x[2])$iter
-#             buffer$createTag("red.foreground",foreground = "red")  
-#             buffer$ApplyTagByName("red.foreground",start,end)}),
-             buffer$createTag("red.background",background = "red")  
-             buffer$ApplyTagByName("red.background",start,end)}),
+             buffer$createTag("red.foreground",foreground = "red")  
+             buffer$ApplyTagByName("red.foreground",start,end)}),
+#             buffer$createTag("red.background",background = "red")  
+#             buffer$ApplyTagByName("red.background",start,end)}),
            error=function(e){})
 }
 

Modified: pkg/R/ProjectButton.R
===================================================================
--- pkg/R/ProjectButton.R	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/R/ProjectButton.R	2008-11-30 11:44:55 UTC (rev 24)
@@ -32,7 +32,6 @@
 
 CloseProjectButton <- function(container){
 gbutton("Close Project",container=container,handler=function(h,...){
-      close_proj(assignenv=.rqda)
       tryCatch(.rqda$.codes_rqda[]<-NULL,error=function(e){})
       tryCatch(.rqda$.fnames_rqda[]<-NULL,error=function(e){})
       tryCatch(.rqda$.CasesNamesWidget[]<-NULL,error=function(e){})
@@ -40,6 +39,7 @@
       tryCatch(UpdateCodeofCatWidget(),error=function(e){})
       tryCatch(UpdateTableWidget(Widget=.rqda$.FileCatWidget,FromdbTable="filecat"),error=function(e){})
       tryCatch(UpdateFileofCatWidget(),error=function(e){})
+      close_proj(assignenv=.rqda)
       }
                                )
 

Modified: pkg/R/ProjectFun.R
===================================================================
--- pkg/R/ProjectFun.R	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/R/ProjectFun.R	2008-11-30 11:44:55 UTC (rev 24)
@@ -52,7 +52,7 @@
       ## coding: information about the project
       dbGetQuery(con,"create table project  (encoding text, detabaseversion text, date text,dateM text,
                                              memo text,BOM integer)")
-      dbGetQuery(con,sprintf("insert into project (detabaseversion,date) values ('0.1.5','%s')",date()))
+      dbGetQuery(con,sprintf("insert into project (detabaseversion,date,memo) values ('0.1.5','%s','')",date()))
       if (dbExistsTable(con,"cases")) dbRemoveTable(con, "cases")
       dbGetQuery(con,"create table cases  (name text, memo text,
                                            owner text,date text,dateM text,

Modified: pkg/TODO
===================================================================
--- pkg/TODO	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/TODO	2008-11-30 11:44:55 UTC (rev 24)
@@ -5,5 +5,10 @@
 functions cleaning treecode/codecat table. and the previous deletion functions should be modified.
 
 add warning when duplicated file/code etc. are added.
+
+Merge *rqda from different coders.
+
+inter-coder reliability 
+
 ### less important
 should add document on the table structure.

Modified: pkg/man/RQDA-internal.rd
===================================================================
--- pkg/man/RQDA-internal.rd	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/man/RQDA-internal.rd	2008-11-30 11:44:55 UTC (rev 24)
@@ -60,7 +60,15 @@
 \alias{ViewFileButton}
 \alias{enc}
 \alias{retrieval2}
+\alias{FileCatAddToButton}
+\alias{FileCatDropFromButton}
+\alias{FileCat_RenameButton}
+\alias{AddFileCatButton}
+\alias{DeleteFileCatButton}
+\alias{UpdateFileofCatWidget}
+\alias{ViewFileFun}
 %% add related alias functions here.
+
 \title{Internal Functions}
 \description{
   Internal RQDA functions.

Modified: pkg/man/list.deleted.rd
===================================================================
--- pkg/man/list.deleted.rd	2008-11-29 11:25:50 UTC (rev 23)
+++ pkg/man/list.deleted.rd	2008-11-30 11:44:55 UTC (rev 24)
@@ -16,11 +16,11 @@
 }
 
 \arguments{
-  \item{type}{ What kind of info would you like to show or clear.$_file_$
-  is the name of file (in the Files tab). $_code_$ is the name of codes
-  (in the Codes tab). $_case_$ is the
-  name of case (in the Case tab). $_codecategory_$ is name of code
-  category (in the C-Cat tab). $_coding_$ is the text segment associated
+  \item{type}{ What kind of info would you like to show or clear. "file"
+  is the name of file (in the Files tab). "code" is the name of codes
+  (in the Codes tab). "case" is the
+  name of case (in the Case tab). "codecategory" is name of code
+  category (in the C-Cat tab). "coding" is the text segment associated
   with specific code.}
   \item{ask} {You can choose which ones to be deleted when is
   TRUE. Otherwise, it will delete all with temporary tagged with

Modified: www/index.html
===================================================================
--- www/index.html	2008-11-29 11:25:50 UTC (rev 23)
+++ www/index.html	2008-11-30 11:44:55 UTC (rev 24)
@@ -5,7 +5,20 @@
 	<TITLE>Welcome to RQDA Project</TITLE>
 	<META NAME="AUTHOR" CONTENT="wincent">
 	<META NAME="CREATED" CONTENT="20081101;12455800">
-        <link rel="stylesheet" href="rqda.css">
+        <!link rel="stylesheet" href="rqda.css">
+        <style type="text/css">
+body {
+  padding-left: 3em;
+  padding-right: 3em;
+  font-family: "Times New Roman",Times, serif;
+  color: darkblue;
+  font-size:12px}
+h1 {
+  font-family: Helvetica, Arial,SunSans-Regular, sans-serif;
+  font-size:13px
+  }
+          </style>
+
 </HEAD>
 
 <BODY>
@@ -64,15 +77,22 @@
 
 
 <h1>Documentation</h1>
+<p>Under construction (contributions are more than welcome).
 
-<p>Under Linux/FreeBSD, you should set the locale of R to UTF-8 to get a better support of non-English documents. In my FreeBSD box, I set the locale of R by this R command: <i>Sys.setlocale(locale = "zh_CN.UTF-8")</i>.
-
 <p>Basic usage: 1. Open or create new project. 2. Import files. 3. Select a file and open it by click button open. 4. Add codes. 5. Select a codes, select text segment in the open file, and press button mark. Select the same text segment and click button Unmark, you can undo the action. 6. Do more coding as step 5. 7. Select a code and click button retrieval to see what text segments have been attached to that code.
 
 <p>About memo buttons in the code tab: 1. C-memo is used to attach memo to a selected code. You can select a code then click C-memo button to view/add memo. 2. C2Memo is used to attach a memo to a coded segments. In the open file, you can see the coded segments (highlighted), select one segment, and click C2Memo, you can view/add memo to that coded-segment.
 
-<p>Under construction (contributions are more than welcome).
+<p><B>Tips</B>
+<br>1. Under Linux/FreeBSD, you should set the locale of R to UTF-8 to get a better support of non-English documents. In my FreeBSD box, I set the locale of R by this R command: <i>Sys.setlocale(locale = "zh_CN.UTF-8")</i>.
+<br>2. When RDQA is launched, it is better to minimize the main window of R (e.g. Rgui, Rterm, terminal from which R is launched).
+<br>3. Besides the C-Cat and F-Cat, you can use a trick to help organize files, codes list,and cases by using specific name rules. For example, if you name a group of codes with 1 as prefix and another group of codes with 2 as prefix, then you can click the triangle symbol in ther right-upper corners of the Codes List table, then the codes are sorted according to their prefix. Similar trick applies to others.
 
+<p><b>FAQ</b>
+<br><B>Q</B>:How can I get help?
+<br>A: You can join the <A HREF="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rqda-help">rqda-help</A> list and post questions via email.
+
+
 <p>
 <h1>Reference</h1>
 <li> Kelle, U. (ed.).1995."Computer-aided qualitative data analysis : theory, methods and practice." Sage Publications.



More information about the Rqda-commits mailing list